#pragma once
#ifndef UNICODE
template <class T>
#include <string>
#include <sstream>

template<class T>
std::string ToString(T& t)
{
	std::stringstream ss;
	ss << t;
	return ss.str();
}
#else
template<class T>
std::wstring ToString(T& t)
{
	std::wstringstream ss;
	ss << t;
	return ss.str();
}
#endif
